﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity;
using Common.Background.Entity;

namespace Common.Background.Service
{
    public interface IWebManageUserservices
    {

        /// <summary>
        /// 添加职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void AddWebManageUsers(WebManageUsers WebManageUsers);

        /// <summary>
        /// 得到单个职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        WebManageUsers GetWebManageUsers(WebManageUsers WebManageUsers);

        /// <summary>
        /// 修改职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void SetWebManageUsers(WebManageUsers WebManageUsers);

        /// <summary>
        /// 查询职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        /// <param name="vp"></param>
        /// <param name="pp"></param>
        /// <returns></returns>
        PagedList<WebManageUsers> WebManageUsersList(WebManageUsers WebManageUsers,VPredication vp, PagingParam pp);

        /// <summary>
        /// 删除职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void DeleteWebManageUsers(WebManageUsers WebManageUsers);

        /// <summary>
        /// 删除职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void DeleteWebManageUsers(List<WebManageUsers> WebManageUsers);

        /// <summary>
        /// 删除职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void FreezeWebManageUsers(List<WebManageUsers> WebManageUsers);

        /// <summary>
        /// 解冻职员
        /// </summary>
        /// <param name="WebManageUsers"></param>
        void UnFreezeWebManageUsers(List<WebManageUsers> WebManageUsers);
        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="webManageUser">WebManageUser(ManageUserID,Password)</param>
        /// <returns></returns>
        void UpdatePassWord(string UserPassword,WebManageUsers WebManageUser);
    }
}
